/**
 *  *2010-3-25 上午11:20:45  add 
 */
package com.base.myproject.server.Comet;


/**
 * @author Administrator
 *2010-3-25
 * javazgw@gmail.com
 */
public abstract class CometObject extends Thread {
/*	HashMap<String, ArrayList<String>> kk=null;

	HashMap<String, Object[][]> kkk=new HashMap<String, Object[][]> ();
	
	public HashMap<String, Object[][]> aa(){
		String[][] aa = new String[2][1];

		kkk.put("aa", aa);
		return kkk;
	}
	public static void main(String[] argv)
	{
		CometObject c = new CometObject();
		System.out.println(c.aa());
	}*/

	abstract public boolean hasnew();
	abstract public Object Judge();
	abstract public  long sleep();
	abstract public  String getCOName();
	
	public void aa(){
		Thread t1 = new Thread(this);
		t1.run();
	}
	
}
